package com.soo.hoo.admin.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.soo.hoo.core.model.BaseEntry;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

/**
 * <p>
 * 搜索记录
 * </p>
 *
 * @author 杨燚
 * @since 2024-05-07
 */
@Getter
@Setter
@TableName("t_sys_search_record")
@Schema(name = "SysSearchRecord", description = "搜索记录")
public class SysSearchRecord extends BaseEntry {

    @Schema(description = "唯一标识")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    @Schema(description = "搜索内容")
    private String recordContent;

    @Schema(description = "搜索时间")
    private LocalDateTime recordTime;
}
